]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Hide session menu button when showing the user list
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 13 Feb 2020 15:39:13 +0000 (12:39 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 13 Feb 2020 21:11:05 +0000 (18:11 -0300)
In the past, the session menu button was part of the auth prompt widgetry,
so we didn't have to manually hide it when showing the user list. However,
now it is part of the login screen itself.

Hide the session menu button when the user list is shown.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999

js/gdm/loginDialog.js

index cad09b54872594d29835f061ae89f6ae25db4694..c7bb7b06e8066edd1ade9759a7510a9515d58805 100644 (file)
@@ -1139,6 +1139,7 @@ var LoginDialog = GObject.registerClass({
         this._authPrompt.hide();
         this._hideBannerView();
         this._sessionMenuButton.close();
+        this._sessionMenuButton.hide();
         this._setUserListExpanded(true);
         this._notListedButton.show();
         this._userList.grab_key_focus();